/*
 * @Author: wanliofficial wanliofficial@aliyun.com
 * @Date: 2025-03-14 10:15:06
 * @LastEditors: wanliofficial wanliofficial@aliyun.com
 * @LastEditTime: 2025-03-15 09:19:47
 * @FilePath: \reactor-programming\chapter05-security\src\main\java\com\atguigu\security\SecurityDemoMainApplicatioin.java
 * @Description:
 *
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
 */
package com.atguigu.security;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Spring Security 默认行为： 所有请求都需要登录才能访问
 * 1、SecurityAutoConfiguration：以前导入 SecurityFilterChain 组件： 默认所有请求都需要登录才可以访问、默认登录页
 * 2、SecurityFilterAutoConfiguration：
 * 3、ReactiveSecurityAutoConfiguration：导入 ServerHttpSecurityConfiguration 配置：注解导入 ServerHttpSecurityConfiguration
 * 4、MethodSecurityAspectJAutoProxyRegistrar：
 */

@SpringBootApplication
public class SecurityDemoMainApplicatioin {
    public static void main(String[] args) {
        SpringApplication.run(SecurityDemoMainApplicatioin.class, args);
    }
}
